executable("clang-format") {
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    "//clang/lib/Basic",
    "//clang/lib/Format",
    "//clang/lib/Rewrite",
    "//clang/lib/Tooling/Core",
    "//llvm/lib/Support",
  ]
  assert_no_deps = [
    "//clang/lib/AST/",
    "//clang/lib/Frontend/",
    "//clang/lib/Sema/",
    "//llvm/lib/IR",
    "//llvm/lib/MC",
  ]
  sources = [ "ClangFormat.cpp" ]
}
